package com.dyoud.api.user.dto;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author
 */
public class AddUserIncomeDto {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 店铺ID
     */
    @NotNull(message = "店铺id不能为空")
    private Long shopId;

    /**
     * 用户头像
     */
    private String userHeadPic;

    /**
     * 操作员手机号
     */
    @NotBlank(message = "操作员手机号不能为空")
    private String operatorPhone;

    /**
     * 当日收益比例
     */
    private BigDecimal incomeScale;

    /**
     * 当日收益价值
     */
    private BigDecimal incomeValue;

    /**
     * 操作员名称
     */
    @NotBlank(message = "操作员名称不能为空")
    private String operatorName;

    /**
     * 用户手机号
     */
    @NotBlank(message = "用户手机号不能为空")
    private String userPhone;

    /**
     * 总投资金额
     */
    @NotNull(message = "总投资金额不能为空")
    private BigDecimal investment;
    
    /**
     * 用户来源 1:android 2:ios 3:web 4:推荐
     */
    @NotNull(message = "扫码来源不能为空")
    private Integer source;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getUserHeadPic() {
        return userHeadPic;
    }

    public void setUserHeadPic(String userHeadPic) {
        this.userHeadPic = userHeadPic;
    }

    public String getOperatorPhone() {
        return operatorPhone;
    }

    public void setOperatorPhone(String operatorPhone) {
        this.operatorPhone = operatorPhone;
    }

    public BigDecimal getIncomeScale() {
        return incomeScale;
    }

    public void setIncomeScale(BigDecimal incomeScale) {
        this.incomeScale = incomeScale;
    }

    public BigDecimal getIncomeValue() {
        return incomeValue;
    }

    public void setIncomeValue(BigDecimal incomeValue) {
        this.incomeValue = incomeValue;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public BigDecimal getInvestment() {
        return investment;
    }

    public void setInvestment(BigDecimal investment) {
        this.investment = investment;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }
    
}